package com.baidu.mapper;

import com.baidu.pojo.Member;
import com.github.pagehelper.Page;


public interface MemberMapper {
	Member findMemberBytelephone(String telephone);

	void add(Member member);

	Member findByTelephone(String telephone);

	int findMemberCountByMonthBefor(String s);
// ------------------------
	int findNewMemberByToday(String today);

	int findtotalMember();

	int findthisWeekNewMemberBythisWeekMonday(String thisWeekMonday);

	int findthisMonthNewMember(String thisMonthFirstDay);

    Member findByPhoneNumber(String phoneNumber);

    Page<Member> findByPage(String queryString);

	Member findMemberById(Integer id);

	void editMember(Member member);

	void deleteMember(Integer id);

	void addMember(Member member);
}
